package com.repair.entity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件上传
 * </p>
 *
 * @author tianwenle
 * @since 2023-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Upload implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 上传ID
     */
      @TableId(value = "upload_id", type = IdType.AUTO)
    private Integer uploadId;

    /**
     * 文件名
     */
    private String name;

    /**
     * 访问路径
     */
    private String path;

    /**
     * 文件路径
     */
    private String file;

    /**
     * 显示顺序
     */
    private String display;

    /**
     * 父级ID
     */
    private Integer fatherId;

    /**
     * 文件夹
     */
    private String dir;

    /**
     * 文件类型
     */
    private String type;


}
